package com.example.demo.service.imp;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.example.demo.mapper.TestMapper;
import com.example.demo.service.TestService;

@Service
@Transactional
public class TestServiceImp implements TestService{
	@Resource
	private TestMapper testMapper;

	@Override
	public void getInf() {
		System.out.println("22222");
		System.out.println(testMapper.get());
		
	}

}
